package com.xinbochuang.machine.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinbochuang.machine.common.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 *
 * @author 杜文博
 * @date 2020-10-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("SHIGONG_ORDER")
public class ShigongOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 工单流水号
     */
    @TableId("UUID")
    private String uuid;

    /**
     * 工单状态（1为待审核，2为已审核，3为已驳回，4为终止）
     */
    @TableField("SG_ORDER_STATUS")
    private BigDecimal sgOrderStatus;

    /**
     * 建单人
     */
    @TableField("SG_CREATE_ORDER_USER_ID")
    private String sgCreateOrderUserId;

    /**
     * 建单人姓名
     */
    @TableField("SG_CREATE_ORDER_USER_NAME")
    private String sgCreateOrderUserName;

    /**
     * 工单主题
     */
    @TableField("SG_ORDER_THEME")
    private String sgOrderTheme;

    /**
     * 工程名称
     */
    @TableField("SG_ORDER_NAME")
    private String sgOrderName;

    /**
     * 施工单位
     */
    @TableField("SG_CONSTRUCTION_DEPT")
    private String sgConstructionDept;

    /**
     * 施工单位主键
     */
    @TableField("SG_CONSTRUCTION_DEPT_ID")
    private String sgConstructionDeptId;

    /**
     * 施工对象类型1为机柜，2为其它
     */
    @TableField("SG_WORK_TYPE")
    private String sgWorkType;

    /**
     * 地市
     */
    @TableField("SG_CITY")
    private String sgCity;

    /**
     * 机房名称
     */
    @TableField("SG_MAC_NAME")
    private String sgMacName;

    /**
     * 机房表关联Id
     */
    @TableField("SG_MAC_ID")
    private String sgMacId;

    /**
     * 机柜Id
     */
    @TableField("SG_CABINET_ID")
    private String sgCabinetId;

    @TableField("SG_CABINET_NAME")
    private String sgCabinetName;

    @TableField("SG_OTHER_WORK")
    private String sgOtherWork;

    /**
     * 施工开始时间
     */
    @TableField("SG_WORK_BEGIN_TIME")
    private String sgWorkBeginTime;

    /**
     * 施工结束时间
     */
    @TableField("SG_WORK_END_TIME")
    private String sgWorkEndTime;

    /**
     * 施工部门现场负责人Id
     */
    @TableField("SG_WORK_ING_PRINCPCIPAL_ID")
    private String sgWorkIngPrincpcipalId;

    /**
     * 施工部门现场负责人姓名
     */
    @TableField("SG_WORK_ING_PRINCPCIPAL")
    private String sgWorkIngPrincpcipal;

    /**
     * 现场负责人联系电话
     */
    @TableField("SG_WORK_ING_PRINCPCIPAL_TEL")
    private String sgWorkIngPrincpcipalTel;

    @TableField("DELETE_FLAG")
    private Integer deleteFlag;

    @TableField("SG_MAC_PRINCIPAL")
    private String sgMacPrincipal;

    @TableField("SG_FREE_WORKER")
    private String sgFreeWorker;

    @TableField("SG_FREE_DEPT")
    private String sgFreeDept;

    @TableField("SG_FREE_WORKER_ID")
    private String sgFreeWorkerId;

    @TableField("SG_FREE_DEPT_ID")
    private String sgFreeDeptId;

    @TableField("SG_CREATE_ORDER_DEPT")
    private String sgCreateOrderDept;

    @TableField("SG_CREATE_ORDER_DEPT_ID")
    private String sgCreateOrderDeptId;

    @TableField("SG_ALARM")
    private Integer sgAlarm;

    @TableField("SG_IMG_URL")
    private String sgImgUrl;


}
